\documentclass[a4paper,twoside,openleft]{blocksbook}
\usepackage{fontspec}% provides font selecting commands
\usepackage{xunicode}% provides unicode character macros
\usepackage{xltxtra} % provides some fixes/extras
\usepackage[answerdelayed,lastexercise]{exercise}
\usepackage[labelsep=period,labelfont=it,textfont=it]{caption}
\usepackage{alltt}
\usepackage{url}
\usepackage{listings} 
\usepackage{color}
\usepackage{graphicx}
\usepackage{relsize}
\usepackage[boldfont,slantfont]{xeCJK}
\usepackage{scalefnt}
\usepackage{wrapfig}
\usepackage{everypage}
% Tables from Gnumeric.
\usepackage{array} 
\usepackage{longtable}
\usepackage{calc}
\usepackage{multirow}
\usepackage{hhline} 
\usepackage{ifthen} 
\usepackage{upquote}

\usepackage{tikz}
\usetikzlibrary{arrows,decorations.pathreplacing}
\usepackage{float}
%\usepackage{natbib}
%% Local tex stuff.
\usepackage{coderemarks}
%% Must go last.
\usepackage{hyperref}
\input{go-setup.tex}
\input{go-cc-license.tex}

\begin{document}
\thispagestyle{empty}
\newcommand{\version}{1.0}
\strictpagecheck

%% Title page.
\begin{center}
\hspace{1.0cm}{\scalefont{6.00}{\sffamily{\mbox{\vspace{1.0cm}学习~Go 语言}}}}\\
\end{center}
\vspace*{2cm}
\begin{figure}[h!]
\begin{center}
    \includegraphics[scale=0.65]{fig/bumper-inverse.png}
\end{center}
\end{figure}
\vspace*{0.02\stockheight}
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\hspace*{2,0cm}作者：\\
\hspace*{2.0cm}\emph{Miek Gieben}\\
\hspace*{2.0cm}译者：\\
\hspace*{2.0cm}\emph{邢星}\\
\vfill
\end{flushleft}
\end{minipage}
\hspace{5mm}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
感谢：\\
\emph{Go 作者}，\emph{Google}\\
\vfill
\end{flushright}
\end{minipage}
\vspace*{0.5cm}
\begin{center}
下朋友提供了帮助和贡献：

（{\small 按字母顺序}）

\input{go-contributors.tex}
还有来自以下朋友的小帮助:

\input{go-nits-contributors.tex}
\end{center}


\vfill
\begin{center}
    \hspace*{1cm}\CcGroupByNcSa{0.83}{0.95ex}\\[2.5ex]
    \hspace*{1cm}{\tiny\CcNote{\CcLongnameByNcSa}}
\end{center}
\begin{center}
\hspace*{1cm}\emph{Miek Gieben -- \copyright 2010 - 2012}
\hspace*{1cm}\emph{邢星~-- \copyright 2011 - 2013}
\end{center}
\vspace{-3em}
%% End title page.

\newpage

\thispagestyle{empty}
\begin{figure}[H]
\emph{
本作品依照署名-非商业性使用-相同方式共享~3.0 Unported 许可证发布。
访问~\url{http://creativecommons.org/licenses/by-nc-sa/3.0/} 
查看该许可证副本，或写信到~
Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA。}    
\vspace{2em}

\emph{本书所有实例代码依此方式放入公共领域。}

\end{figure}

``学习~Go 语言'' 已经被翻译为：
\begin{itemize}
\item 中文，邢星；
\end{itemize}

\begin{center}
\vfill
\emph{Learning as we Go}
(\emph{\version})

\tiny{支持~Go 1.1 版本}
\vspace{.2\stockheight}
\end{center}

\clearpage

\pagenumbering{roman}
\tableofcontents*
\listofex* 
\clearpage

\chapter*{前言}
\label{chap:preface}
\input{go-preface.tex}

\pagenumbering{arabic}
%% renamed from Basics
\chapter{简介}
\pagenumbering{arabic}
\label{chap:intro}
\input{go-basics.tex}

\chapter{函数}
\label{chap:functions}
\input{go-functions.tex}

\chapter{包}
\label{chap:packages}
\input{go-packages.tex}

\chapter{进阶}
\label{chap:beyond}
\input{go-beyond.tex}

\chapter{接口}
\label{chap:interfaces}
\input{go-interfaces.tex}

\chapter{并发}
\label{chap:channels}
\input{go-channels.tex}

\chapter{通讯}
\label{chap:communication}
\input{go-communication.tex}

%%\chapter{Miscellaneous}
%%\label{chap:miscellaneous}
%%\input{go-misc.tex}

\appendix

\chapter{版权}
\input{go-colophon}

\begin{twocolumn}
\chapter{索引}
\printindex
\end{twocolumn}
\begin{onecolumn}

\bibliographystyle{plain}
\bibliography{go}
\newpage
\thispagestyle{empty}
\begin{center}
\emph{当前页留空。}
\end{center}
\end{onecolumn}
\end{document}
